#ifndef _KRAW_D3D9MESH_H_
#define _KRAW_D3D9MESH_H_
/**
    DirectX9-implementation of Mesh
*/
#include "kraw.h"

#include "d3d9/d3d9display.h"

namespace Kraw
{
/**
A display implemented using a Direct3D9 device on win32
*/
class D3D9Mesh : public Mesh
{
public:
    D3D9Mesh( D3D9Display* );

    int numVertices;
    int numIndices;
    int vertexStride;//bytes
    int vertexFormat;
    int numPrimitives;
    IDirect3DDevice9* pD3D9Device;
    IDirect3DVertexBuffer9* pVertexBuffer;
    IDirect3DIndexBuffer9* pIndexBuffer;
};

} //namespace Kraw

#endif //_KRAW_D3D9MESH_H_
